using System.ComponentModel.DataAnnotations;

namespace RAG.Domain.Entities.App;

/// <summary>
/// 向量实体
/// </summary>
public class Vector : EntityBase
{
    public Guid VectorId { get; set; }
    public Guid DocumentChunkId { get; set; } // 关联文档块ID
    public float[] Embedding { get; set; } = null!; // 向量嵌入(1536维)
    
    // 导航属性
    public DocumentChunk DocumentChunk { get; set; } = null!;
} 